package com.wzy.vx.service.impl;

import com.wzy.vx.dataobject.SellerInfo;
import com.wzy.vx.repository.SellerInfoRepository;
import com.wzy.vx.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.service.impl
 * @ClassName: SellerServiceImpl
 * @Author: Administrator
 * @Description: ${description}
 * @Date: 2019/3/20 15:16
 * @Version: 1.0
 */
@Service
public class SellerServiceImpl implements SellerService {

    @Autowired
    private SellerInfoRepository sellerInfoRepository;

    @Override
    public SellerInfo findSellerInfoByOpenid(String openid) {
        return sellerInfoRepository.findByOpenid(openid);
    }
}
